package com.ticket.sass.admin.dto.input.config;

import com.ticket.sass.admin.util.GsonUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author ywb
 * @date 2024-03-26 18:22
 */
@Data
@ApiModel
public class ThemeConfigInput {
  
    @NotNull(message = "主题不能为空")
    @ApiModelProperty("第一个主题")
    private MatchColor primary;
    
    @Override
    public String toString() {
        return GsonUtil.getInstance().toJson(this);
    }
}
